package com.dews.information.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * 专业对象Vo
 *
 * @author qingfeng
 * @date 2024-11-15
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class SubjectQueryDTO {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "页码不能为空")
    private Long pageNum;

    @NotNull(message = "每页数量不能为空")
    private Long pageSize;

    @ApiModelProperty(value = "部门学院Id")
    private Long depId;

    @ApiModelProperty(value = "专业名称")
    private String subjectName;

    @ApiModelProperty(value = "是否启用：0-未启用  1-启用")
    private Integer isEnable;
}
